/*列表上方操作按钮区域*/
.ant-card-body .table-operator {
  margin-bottom: 18px;
}

/** Button按钮间距 */
.table-operator .ant-btn {
  margin-right: 6px
}

/*列表td的padding设置 可以控制列表大小*/
.ant-table-tbody .ant-table-row td {
  padding-top: 15px;
  padding-bottom: 15px;
}

/*列表页面弹出modal*/
.ant-modal-cust-warp {
  height: 100%
}

/*弹出modal Y轴滚动条*/
.ant-modal-cust-warp .ant-modal-body {
  height: calc(100% - 110px) !important;
  overflow-y: auto
}

/*弹出modal 先有content后有body 故滚动条控制在body上*/
.ant-modal-cust-warp .ant-modal-content {
  height: 90% !important;
  overflow-y: hidden
}

/*列表中有图片的加这个样式 参考用户管理*/
.anty-img-wrap {
  height: 25px;
  position: relative;
}

.anty-img-wrap>img {
  max-height: 100%;
}

/*列表中范围查询样式*/
.query-group-cust {
  width: calc(50% - 10px)
}

.query-group-split-cust:before {
  content: "~";
  width: 20px;
  display: inline-block;
  text-align: center
}

/*表格行高*/
.ant-table-middle>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th,
.ant-table-middle>.ant-table-content>.ant-table-body>table>.ant-table-tbody>tr>td,
.ant-table-middle>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-thead>tr>th,
.ant-table-middle>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,
.ant-table-middle>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-tbody>tr>td,
.ant-table-middle>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,
.ant-table-middle>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-tbody>tr>td,
.ant-table-middle>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-tbody>tr>td {
  padding: 6px 2px;
}

/*正常表格行高（用于操作列固定的表格，解决操作列超出显示问题）给表格添加id='defaultSize'即可*/
#defaultSizeTable .ant-table-middle>.ant-table-content>.ant-table-body>table>.ant-table-thead>tr>th,
#defaultSizeTable .ant-table-middle>.ant-table-content>.ant-table-body>table>.ant-table-tbody>tr>td,
#defaultSizeTable .ant-table-middle>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-thead>tr>th,
#defaultSizeTable .ant-table-middle>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,
#defaultSizeTable .ant-table-middle>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-tbody>tr>td,
#defaultSizeTable .ant-table-middle>.ant-table-content>.ant-table-fixed-left>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-thead>tr>th,
#defaultSizeTable .ant-table-middle>.ant-table-content>.ant-table-fixed-right>.ant-table-body-outer>.ant-table-body-inner>table>.ant-table-tbody>tr>td,
#defaultSizeTable .ant-table-middle>.ant-table-content>.ant-table-scroll>.ant-table-body>table>.ant-table-tbody>tr>td {
  padding: 12px 8px;
}

/* 统一 必填 样式*/
.colStyle {
  display: flex;
  flex-direction: row;
}

.tipstyle {
  display: inline-block;
  margin-right: 4px;
  font-family: SimSun;
  line-height: 1;
  font-size: 14px;
  color: #f5222d;
  position: absolute;
  left: -80px;
  top: 2px;
}

.tiptext {
  display: inline-block;
  position: absolute;
  color: #f5222d;
  left: 0px;
  top: 17px;
}

/* 表格斑马线*/
.ant-table-tbody tr:nth-child(even) {
  background-color: #E7F3FE;
}

.ant-table-thead>tr>th {
  background-color: #5B9BD5;
  color: #fff;
}

.ant-table-thead>tr>.ant-table-align-center {
  color: #fff;
}
.ant-table-thead>tr>.ant-table-column-has-sorters:hover .ant-table-column-sorters {
  color: #000 !important;
}

.ant-table-thead>tr>.ant-table-column-sort>.ant-table-column-sorters {
  color: #000 !important;
}

.ant-table-tbody>tr:hover:not(.ant-table-expanded-row)>td {
  background: #b8d8f5 !important;
}

/* 超出省略显示*/
.overflowhidden {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.publicFlex {
  /*兼容各大浏览器*/
  display: flex;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  /*定义子元素排列*/
  flex-direction: row;
  -webkit-box-direction: normal;
  -moz-box-orient: horizontal;
  -moz-box-direction: normal;
  -webkit-flex-direction: row;
  /*定义子元素换行情况*/
  -webkit-flex-wrap: nowrap;
  -moz-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-orient: horizontal;
  box-orient: horizontal;
  /*横向排列布局*/
  justify-content: space-around;
  -webkit-justify-content: space-around;
  -moz-box-pack: justify;
  -webkit--moz-box-pack: justify;
  box-pack: justify;
}